﻿<UserControl x:Class="CrudCategories.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="960" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">

    <Grid x:Name="LayoutRoot" Background="White">
        <sdk:DataGrid AutoGenerateColumns="True" Height="217" HorizontalAlignment="Left" Margin="12,12,0,0" 
                      Name="dataGridCategories" VerticalAlignment="Top" Width="936" />
        <Button Content="Add" Height="23" HorizontalAlignment="Left" Margin="12,265,0,0" Name="buttonAddCategory" VerticalAlignment="Top" Width="75" Click="buttonAddCategory_Click" />
        <Button Content="Edit" Height="23" HorizontalAlignment="Left" Margin="93,265,0,0" Name="buttonEdit" VerticalAlignment="Top" Width="75" Click="buttonEdit_Click" />
        <Button Content="Delete" Height="23" HorizontalAlignment="Left" Margin="174,265,0,0" Name="buttonDelete" VerticalAlignment="Top" Width="75" Click="buttonDelete_Click" />
        <sdk:DataPager Height="26" HorizontalAlignment="Left" Margin="12,233,0,0" Name="dataPagerCategories" 
                       PageSize="10" VerticalAlignment="Top" Width="936" />
    </Grid>
</UserControl>
